<?php

return [
    'menu' => [
        'user' => [
            'name' => '会员管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '会员列表', 'uri' => '/user/index', 'show' => true, 'method' => 'get'],  //index 方法名
            ],
            'show' => true,
        ],
        'shop' => [
            'name' => '商家管理',
            'ico' => '&#xe726;',
            'sub' => [
                'shoplist' => ['name' => '商家列表', 'uri' => '/shop/shoplist', 'show' => true, 'method' => 'get'],  //index 方法名
                'users' => ['name' => '商家客户', 'uri' => '/shop/users', 'show' => false, 'method' => 'get'],  //index 方法名
                'businesslog' => ['name' => '商家收益记录', 'uri' => '/shop/businesslog', 'show' => false, 'method' => 'get'],  //index 方法名
                'shoplist_edit' => ['name' => '添加、编辑商户', 'uri' => '/shop/shoplist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '商品列表', 'uri' => '/shop/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'goodslist_edit' => ['name' => '添加、编辑商品', 'uri' => '/shop/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist_del' => ['name' => '删除商品', 'uri' => '/shop/goodslist_del', 'show' => false, 'method' => 'get|post'],
                'goodsspec_del' => ['name' => '删除商品规格', 'uri' => '/shop/goodsspec_del', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],

        'order' => [
            'name' => '订单管理',
            'ico' => '&#xe726;',
            'sub' => [
                'order' => ['name' => '交易订单', 'uri' => '/order/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'order1' => ['name' => '售后订单', 'uri' => '/order/order1', 'show' => true, 'method' => 'get'],  //index 方法名
                'orderdetail' => ['name' => '订单详情', 'uri' => '/order/orderdetail', 'show' => false, 'method' => 'get|post'],
                'order_str' => ['name' => '订单取消、确认、售后操作', 'uri' => '/order/order_str', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统配置',
            'ico' => '&#xe726;',
            'sub' => [
                'banner' => ['name' => '轮播图管理', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'],  //index 方法名
                'banner_edit' => ['name' => '轮播图编辑、管理', 'uri' => '/system/banner_edit', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '轮播图删除', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
                'platclass' => ['name' => '商品分类', 'uri' => '/system/platclass', 'show' => true, 'method' => 'get'],  //index 方法名
                'platclass_edit' => ['name' => '分类编辑、管理', 'uri' => '/system/platclass_edit', 'show' => false, 'method' => 'get|post'],
                'platclass_del' => ['name' => '分类删除', 'uri' => '/system/platclass_del', 'show' => false, 'method' => 'get|post'],
                'config' => ['name' => '系统配置信息', 'uri' => '/system/config', 'show' => true, 'method' => 'get'],  //index 方法名
                'config_edit' => ['name' => '系统配置信息编辑', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'withdraw' => ['name' => '提现管理', 'uri' => '/system/withdraw', 'show' => true, 'method' => 'get'],  //index 方法名
                'withdraw_str' => ['name' => '提现驳回', 'uri' => '/system/withdraw_str', 'show' => false, 'method' => 'get|post'],
                'withdraw_str2' => ['name' => '提现通过', 'uri' => '/system/withdraw_str2', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '系统商品库', 'uri' => '/system/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'goodslist_edit' => ['name' => '商品库编辑添加', 'uri' => '/system/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist_del' => ['name' => '删除系统商品', 'uri' => '/system/goodslist_del', 'show' => false, 'method' => 'get|post'],
                'pgoodslist' => ['name' => '积分兑换商品', 'uri' => '/system/pgoodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'pgoodslist_edit' => ['name' => '积分商品编辑添加', 'uri' => '/system/pgoodslist_edit', 'show' => false, 'method' => 'get|post'],
                'pgoodslist_del' => ['name' => '删除积分商品', 'uri' => '/system/pgoodslist_del', 'show' => false, 'method' => 'get|post'],
                'order' => ['name' => '兑换订单', 'uri' => '/system/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'orderdetail' => ['name' => '兑换订单详情', 'uri' => '/system/orderdetail', 'show' => false, 'method' => 'get|post'],
                'order_str' => ['name' => '兑换订单取消、确认、发货操作', 'uri' => '/system/order_str', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'admin' => [  /// controller名
            'name' => '系统管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '管理员删除', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],

    ]
];